/***************************************
 * An item in Wnd* Table
 * Matches hWnd to pWnd
 ***/
class WndPointerItem
{
public:
	Wnd* pWnd;
	HWND hWnd;
	WndPointerItem* pNext;
	WndPointerItem(Wnd* PWnd, HWND HWnd)
		:pWnd(PWnd), hWnd(HWnd),pNext(0){}
};

/***************************************
 * WndPointerTable
 * Matches hWnd to pWnd
 ***/
class WndPointerTable
{
public:
	WndPointerTable():pStart(0){}
	void Add(WndPointerItem& WndPointer);
	void Clear();
	Wnd* Find(HWND hwnd);
	~WndPointerTable(){Clear();}
private:
	WndPointerItem* pStart;
};
